import request from "./request";

// 轮播图列表
export const getBanner = () => {
  return request({
    url: "/banner",
  });
};

// 推荐歌单
export const getRecommendlist = ({ limit = 10 } = {}) = {
  return request({
    url: '/personalized',
    method: 'get',
    params: {
      limit,
    }
  })
}

// 获取最新音乐
export const getNewsong = () => {
  return request({
    url: '/personalized/newsong',
    method: 'get'
  })
}
